//
//  WBStatus.swift
//  0829-Weibo
//
//  Created by 毕仲阳 on 16/9/3.
//  Copyright © 2016年 mycompany. All rights reserved.
//

import UIKit

class WBStatus: NSObject {
    /// 微博的创建时间
    //var created_at: String?
    var created_at: Date?
    /// 微博的Id
    var id: Int64 = 0
    /// 微博内容
    var text: String?
    /// 微博的来源
    var source: String?
    /// 当前微博的作者信息
    var user: WBUser?
    /// 转发数
    var reposts_count: Int = 0
    /// 评论数
    var comments_count: Int = 0
    /// 表态数
    var attitudes_count: Int = 0
    /// 转发微博
    var retweeted_status: WBStatus?
    ///微博配图
    var pic_urls: [WBStatusPictureInfo]?
    class func modelContainerPropertyGenericClass() -> ([String: Any]) {
        return [
            "pic_urls": WBStatusPictureInfo.self
        ]
    }
}
